package com.ylyl.langchain4j07chatstream.servcie;

import reactor.core.publisher.Flux;

import java.util.function.Function;

public interface ChatAssistant {

    String prompt(String prompt);

    Flux<String> chatFlux(String prompt);

 }
